<div class="" style="top:10px;    margin: 10px;">
    <form action="{:search_url(['goods_cate_id','search'])}" method="GET" pjax-search="" id="export_form">
        <div class="input-group input-group-sm">
            <input type="hidden" name="page" value="1" />
            <label for="" class=" ">状态</label>
            <select class="select2" name="status" style="width: 100px;display: inline-block;margin: 0px 5px;padding-left: 3px;border: 1px solid #ccc;height: 28px;border-radius: 3px;">
                <option value="-1" {if condition="input('get.status',-1) eq -1"}selected = 'selected'{/if}>全部</option>
                <option value="1" {if condition="input('get.status',-1) eq 1"}selected = 'selected'{/if}>待发货</option>
                <option value="2" {if condition="input('get.status',-1) eq 2"}selected = 'selected'{/if}>待收货</option>
                <option value="3" {if condition="input('get.status',-1) eq 3"}selected = 'selected'{/if}>订单完成</option>
            </select>
            <div style="width: 800px;float: right;">
                <input type="text" style="display: inline-block;width: 200px;margin: 0px 5px;padding-left: 3px;border: 1px solid #ccc;height: 28px;border-radius: 3px;" name="account" class="" value="{:input('get.account')}" placeholder="{$placeHolderSearch|default='用户账号'}" />
                <input type="text" style="display: inline-block;width: 200px;margin: 0px 5px;padding-left: 3px;border: 1px solid #ccc;height: 28px;border-radius: 3px;" name="mobile" class="" value="{:input('get.mobile')}" placeholder="{$placeHolderSearch|default='联系电话'}" />
                <input type="text" style="display: inline-block;width: 200px;margin: 0px 5px;padding-left: 3px;border: 1px solid #ccc;height: 28px;border-radius: 3px;" name="order_number" class="" value="{:input('get.order_number')}" placeholder="{$placeHolderSearch|default='订单号'}" />
                <div class="input-group-btn" style="display: inline-block;">
                    <button type="submit" class="btn btn-default sreachs">
                        <i class="fa fa-search"></i>查询
                    </button>
                    <button type="button" class="btn btn-default type_explode" style="margin-left:10px;">导出Excel</button>
                </div>

            </div>

        </div>
    </form>
</div>
<script>
    $('.type_explode').on('click',function () {
        window.location.href = "{:url('order/index')}?" + $('#export_form').serialize()+'&export=1';
        return false;
    });
</script>
